package com.hsylient.adapter.adapter;

import org.springframework.stereotype.Component;

@Component
public class TeacherAdapter implements PersonAdapter {

    @Override
    public int getAge() {
        return 20;
    }

    @Override
    public String getName() {
        return "老师真好";
    }
}
